<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0, user-scalable=no">
<script>
 var i=10; 
   while(i>=0){
     document.write(i+"<br/>");
       i-=2;
  }
</script>